package config

type NacosConfig struct {
	Host      string
	Port      int
	Namespace string
	User      string
	Password  string
	Dataid    string
	Group     string
}
type ServerConfig struct {
	Name        string        `json:"name"`
	Port        int           `json:"port"`
	UserSrvInfo UserSrvConfig `json:"user_srv"`
	Consul      ConsulConfig  `json:"consul"`
	JWT         JWTConfig     `json:"jwt"`
}
type UserSrvConfig struct {
	Name string `json:"name"`
}
type ConsulConfig struct {
	Host string `json:"host"`
	Port int    `json:"port"`
}
type JWTConfig struct {
	SigningKey string `json:"key"`
}
